#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include<map>
using namespace std;
int main() {
    char str[100] = { 0 };
    cin.getline(str, sizeof(str));
    map<char, int>maps;        
    for (int i = 0; str[i] != '\0'; i++) {  
        if (isalpha(str[i]))
        {
            maps[str[i]]++;
        }
    }
    for (auto it = maps.begin(); it != maps.end(); it++)
    {
        cout << it->first << ":" << it->second << endl;
    }
    return 0;
}